a0ecf6d673e29123c3445e7b090741b9caab65ae,IdeaPlugin/mps-core/jps-plugin/src/jetbrains/mps/jps/build/MPSMakeMediator.java,MPSMakeMediator,build,#,114

Before Change


      File cachesOutputRoot = getCachesOutputRoot(mpsModule.getModule(), myContext.getCompileContext().getProjectDescriptor().dataManager);
      boolean useTransientOutputFolder = mpsModule.getConfiguration().isUseTransientOutputFolder();
      File generatorOutputRoot = new File (mpsModule.getConfiguration().getGeneratorOutputPath());
      myRedirects.addRedirects(outputPaths, outputTmpRoot.getAbsolutePath(), cachesOutputRoot.getAbsolutePath(), useTransientOutputFolder);

      if (useTransientOutputFolder || !isGenOutputUnderSourceRoot(target, mpsModule)) {
        BuildRootIndex buildRootIndex = myContext.getCompileContext().getProjectDescriptor().getBuildRootIndex();

After Change


      File outputTmpRoot = getTmpOutputRoot(mpsModule.getModule(), myContext.getCompileContext().getProjectDescriptor().dataManager);
      File cachesOutputRoot = getCachesOutputRoot(mpsModule.getModule(), myContext.getCompileContext().getProjectDescriptor().dataManager);
      boolean useTransientOutputFolder = mpsModule.getConfiguration().isUseTransientOutputFolder();
      myRedirects.addRedirects(outputPaths, outputTmpRoot.getAbsolutePath(), cachesOutputRoot.getAbsolutePath(), useTransientOutputFolder);

      File generatorOutputRoot = new File (mpsModule.getConfiguration().getGeneratorOutputPath());
      File outputRoot = useTransientOutputFolder ? outputTmpRoot : generatorOutputRoot;